<!-- 继承公共视图文件 -->
<extend name="./Application/Admin/View/layout.html" />
 <!-- 可变内容区域 -->
 <block name="mid">
	<!-- start: Content -->

    <div class="col-md-6">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h2><i class="fa fa-indent red"></i><strong>添加权限</strong></h2>
            </div>
			<div class="panel-body">
				<form class="form-horizontal " enctype="multipart/form-data" method="post" action="">
				    <input type="hidden" value="1" name="hi">
	                <div class="form-group">
	                    <label for="select" class="col-md-3 control-label">权限模块</label>
	                    <div class="col-md-2">
	                        <select size="1" class="form-control" name="pid">
	                            <option value="0">顶级权限</option>

                                <foreach name="top_nav" item="v">
	                            <option value="{$v.id}">{$v.name}</option>
                                </foreach>

	                        </select>
	                    </div>
	                </div>
	                <div class="form-group">
	                    <label for="text-input" class="col-md-3 control-label">权限名称</label>
	                    <div class="col-md-9">
	                        <input type="text" class="form-control" name="title">
	                    </div>
	                </div>
	                <div class="form-group">
	                    <label for="email-input" class="col-md-3 control-label">权限规则</label>
	                    <div class="col-md-9">
	                        <input type="text" class="form-control" name="name">
	                    </div>
	                </div>
	                <div class="form-group">
	                    <label class="col-md-3 control-label">状态</label>
	                    <div class="col-md-9">
	                        <label for="inline-radio1" class="radio-inline">
	                        	<input type="radio" value="1" checked name="status"> 启用
	                        </label>
	                        <label for="inline-radio2" class="radio-inline">
	                        	<input type="radio" value="0" name="status"> 禁用
	                        </label>
	                    </div>
	                </div>
	                <div class="form-group">
	                    <label class="col-md-3 control-label">前/后台模板</label>
	                    <div class="col-md-9">
	                        <label for="inline-radio1" class="radio-inline">
	                        	<input type="radio" value="1" name="is_home"> 前台模板
	                        </label>
	                        <label for="inline-radio2" class="radio-inline">
	                        	<input type="radio" value="2" checked name="is_home"> 后台模板
	                        </label>
	                    </div>
	                </div>
					<br>

				</div>
				<div class="panel-footer">
                    <button class="btn btn-sm btn-success" type="submit" style="">提交</button>
                    <button class="btn btn-sm btn-danger" type="reset">重置</button>
                </div>
            </form>
        </div>
    </div>


	<!-- end: Content -->

</block>

<!-- <block name="js">
    <script type="text/javascript" src="__ADMIN__assets/js/jquery-2.1.1.min.js"></script>
	<script type="text/javascript">

	</script>
</block> -->